package com.bruceliu.service;

import com.bruceliu.bean.Cart;

import java.util.List;
import java.util.Map;

/**
 * @BelongsProject: RestaurantSystem
 * @BelongsPackage: com.bruceliu.service
 * @Author: bruceliu
 * @QQ:1241488705
 * @CreateTime: 2020-03-01 21:44
 * @Description: TODO
 */
public interface CartService {

    public int addCart(Cart cart);

    public int updateCart(Cart cart);

    public int deleteCart(int desk_id);

    public int deleteCartById(int id);

    public Cart getById(int id);

    public int isExists(Map<String,Object> map);

    public Cart getMyCart(Map<String,Object> map);

    public List<Cart> getCarts(int desk_id);
}
